#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
#define OFFSETOF(sn,mn) (int)(&(((sn*)0)->mn))
struct S
{
	char a;
	int b;
	double c;
};
int main()
{
	printf("%d %d %d", OFFSETOF(struct S, a), OFFSETOF(struct S, b), OFFSETOF(struct S, c));
	return 0;
}